Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit dd7e0e5

Browse files
committedOct 6, 2014
few editorial fixes
1 parent 61ce9b1 commit dd7e0e5

3 files changed

+27
-16
lines changed
 

‎activitystreams2-context.jsonld

+6
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,12 @@
531531
"@type": "owl:Class",
532532
"rdfs:subClassOf": "as:Object"
533533
},
534+
{
535+
"@id": "as:language",
536+
"@type": "owl:FunctionalProperty",
537+
"rdfs:domain": ["as:Object", "as:Link"],
538+
"rdfs:range": "xsd:string"
539+
},
534540
{
535541
"@id": "as:displayName",
536542
"@type": "owl:ObjectProperty",

‎activitystreams2-vocabulary.html

+5-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ <h2>Terms</h2>
352352

353353
<tbody>
354354
<tr>
355-
<td rowspan="3" valign="top"><dfn>language</dfn></td>
355+
<td rowspan="4" valign="top"><dfn>language</dfn></td>
356356
<td valign="top" width="10%">URI:</td>
357357
<td valign="top"><code>http://activitystrea.ms/2.0/language</code></td>
358358
</tr>
@@ -368,6 +368,10 @@ <h2>Terms</h2>
368368
<td valign="top">Domain:</td>
369369
<td valign="top"><a title="Object"><code>Object</code></a> | <a title="Link"><code>Link</code></a></td>
370370
</tr>
371+
<tr>
372+
<td valign="top">Range:</td>
373+
<td valign="top">[[!RFC5646]] Language Tag</td>
374+
</tr>
371375
</tbody>
372376

373377
<tbody>

‎activitystreams2.html

+16-15
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,10 @@ <h2>An extended activity</h2>
302302
"@type": "urn:example:types:person",
303303
"@id": "urn:example:person:martin",
304304
"displayName": "Martin Smith",
305-
"url": "http://example.org/martin",
305+
"url": {
306+
"@id": "http://example.org/martin",
307+
"displayName": "Martin's Profile"
308+
},
306309
"image": {
307310
"@id": "http://example.org/martin/image",
308311
"mediaType": "image/jpeg",
@@ -391,7 +394,8 @@ <h2><dfn title="Object" id="asobject">Object</dfn></h2>
391394
<a href="activitystreams2-vocabulary.html#dfn-provider">provider</a> |
392395
<a href="activitystreams2-vocabulary.html#dfn-published">published</a> |
393396
<a href="activitystreams2-vocabulary.html#dfn-rating">rating</a> |
394-
<a href="activitystreams2-vocabulary.html#dfn-replies">replies</a>
397+
<a href="activitystreams2-vocabulary.html#dfn-replies">replies</a> |
398+
<a href="activitystreams2-vocabulary.html#dfn-resultof">resultOf</a> |
395399
<a href="activitystreams2-vocabulary.html#dfn-scope">scope</a> |
396400
<a href="activitystreams2-vocabulary.html#dfn-starttime">startTime</a> |
397401
<a href="activitystreams2-vocabulary.html#dfn-summary">summary</a> |
@@ -486,19 +490,22 @@ <h2><dfn title="Link">Link</dfn></h2>
486490
</p>
487491

488492
<p>
489-
The target URI of the Link is the global identifier expressed in the JSON-LD
490-
serialization using the <code>@id</code> keyword. In addition, all <code>Link</code>
491-
instances share the following common set of properties as defined by the
493+
When expressed as a JSON object, the target URI of the Link is the global
494+
identifier expressed in the JSON-LD serialization using the <code>@id</code>
495+
keyword. In addition, all <code>Link</code> instances share the following
496+
common set of properties as defined by the
492497
<a href="activitystreams2-vocabulary.html">Activity Vocabulary</a>:
493498
<code>
494499
<a href="activitystreams2-vocabulary.html#dfn-displayname">displayName</a> |
495500
<a href="activitystreams2-vocabulary.html#dfn-duration">duration</a> |
496-
<a href="activitystreams2-vocabulary.html#dfn-height">height</a> |
501+
<a href="activitystreams2-vocabulary.html#dfn-height">height</a> |
497502
<a href="activitystreams2-vocabulary.html#dfn-icon">icon</a> |
498503
<a href="activitystreams2-vocabulary.html#dfn-image">image</a> |
499-
<a href="activitystreams2-vocabulary.html#dfn-inreplyto">inReplyTo</a> |
504+
<a href="activitystreams2-vocabulary.html#dfn-inreplyto">inReplyTo</a> |
505+
<a href="activitystreams2-vocabulary.html#dfn-language">language</a> |
500506
<a href="activitystreams2-vocabulary.html#dfn-mediatype">mediaType</a> |
501507
<a href="activitystreams2-vocabulary.html#dfn-rel">rel</a> |
508+
<a href="activitystreams2-vocabulary.html#dfn-resultof">resultOf</a> |
502509
<a href="activitystreams2-vocabulary.html#dfn-title">title</a> |
503510
<a href="activitystreams2-vocabulary.html#dfn-width">width</a>
504511
</code>
@@ -649,14 +656,8 @@ <h2><dfn title="Activity" id="activity">Activity</dfn></h2>
649656
"@id": "urn:example:verb:like",
650657
"displayName": "like"
651658
},
652-
"actor": {
653-
"@type": "http://activitystrea.ms/2.0/Link",
654-
"@id": "http://example.org/profiles/joe"
655-
},
656-
"object": {
657-
"@type": "http://activitystrea.ms/2.0/Link",
658-
"@id": "http://example.com/notes/1"
659-
},
659+
"actor": "http://example.org/profiles/joe",
660+
"object": "http://example.com/notes/1",
660661
"published": "2014-09-30T12:34:56Z"
661662
}
662663
</code></pre></figure>

0 commit comments

Comments
 (0)
Please sign in to comment.